#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int i, n;
	float x, avg, sum = 0.0;
	scanf("%d", &n);
	for (i = 0;i < n;i++)
	{
		scanf("%f", &x);
		sum += x;
	}
	avg = sum / n;
	printf("avg=%f\n", avg);
	return 0;
}